﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="tj.aspx.cs" Inherits="lcreport.Web.tj" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .tdbg {
            text-align: left;
        }
        .gv {
    /*background-color:#d5d4d4;*/ 
   border-spacing:0;
}
    .gv th {
    background-image: url('../Images/bg.gif');
    height: 22px;
    text-align:center;
    border:solid 1px #d5d4d4;
}
    /*.gv td {
        background-color:white;
    }*/
    .gv tr {
        border-collapse:collapse;
        
    }
    .gv td {
        border:solid 1px #d5d4d4;
        
    }
    </style>
    <script src="My97DatePicker/WdatePicker.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
     <table style="width: 100%;" cellpadding="1" cellspacing="1" class="border">
                <tr>
                    <td  align="right" class="tdbg">
                         <b>信息标题：</b>
                                          
                    <asp:TextBox ID="txtKeyword" style="WIDTH: 100px" runat="server"></asp:TextBox>
                        被投诉人:
                        <asp:TextBox ID="txtrwork" style="WIDTH: 100px" runat="server"></asp:TextBox>
                        问题类别：
                    <asp:DropDownList id="reportQuestionId1" style="WIDTH: 100px"  runat="server">
                                            <asp:ListItem  value="0">==请选择==</asp:ListItem>
                                            <asp:ListItem value="涉农专项资金">涉农专项资金</asp:ListItem>
                                            <asp:ListItem value="土地征收管理">土地征收管理</asp:ListItem>
                                            <asp:ListItem value="城乡低保救助">城乡低保救助</asp:ListItem>
                                            <asp:ListItem value="社会保险基金">社会保险基金</asp:ListItem>
                                            <asp:ListItem  value="医疗卫生服务">医疗卫生服务</asp:ListItem>
                                            <asp:ListItem  value="中小学义务教育">中小学义务教育</asp:ListItem>
                                            <asp:ListItem  value="小农水工程建设">小农水工程建设</asp:ListItem>
                                            <asp:ListItem  value="农机购置补贴">农机购置补贴</asp:ListItem>
                                        </asp:DropDownList>
                        问题所属地:
                        <asp:DropDownList id="DropDownList1" style="WIDTH: 100px"  runat="server">
                                            <asp:ListItem selected value="0">==全部==</asp:ListItem>
                                            <asp:ListItem value="东昌府区">东昌府区</asp:ListItem>
                                            <asp:ListItem value="阳谷县">阳谷县</asp:ListItem>
                                            <asp:ListItem value="莘县">莘县</asp:ListItem>
                                            <asp:ListItem value="茌平县">茌平县</asp:ListItem>
                                            <asp:ListItem value="东阿县">东阿县</asp:ListItem>
                                            <asp:ListItem value="冠县">冠县</asp:ListItem>
                                            <asp:ListItem value="高唐县">高唐县</asp:ListItem>
                                            <asp:ListItem value="临清市">临清市</asp:ListItem>
                                            <asp:ListItem value="经济技术开发区">经济技术开发区</asp:ListItem>
                                            <asp:ListItem value="高新技术产业开发区">高新技术产业开发区</asp:ListItem>
                                            <asp:ListItem value="江北水城旅游度假区">江北水城旅游度假区</asp:ListItem>

                                       </asp:DropDownList>
                        日期：<asp:TextBox ID="txtstart" runat="server" style="WIDTH: 70px" onClick="WdatePicker()"></asp:TextBox>
                        到：<asp:TextBox ID="txtend" runat="server" style="WIDTH: 70px" onClick="WdatePicker()"></asp:TextBox>
                    <asp:Button ID="btnSearch" runat="server" Text="查询"  OnClick="btnSearch_Click" >
                    </asp:Button>                   
                        
                    </td>
                    
                </tr>
            </table>
            <!--Search end-->
            <br />
            <asp:GridView ID="gridView" runat="server" AllowPaging="True" Width="98%" CellPadding="0" CssClass="gv"  OnPageIndexChanging ="gridView_PageIndexChanging"
                    BorderWidth="0px" DataKeyNames="rid" OnRowDataBound="gridView_RowDataBound"
                    AutoGenerateColumns="False"  RowStyle-HorizontalAlign="Center" OnRowCreated="gridView_OnRowCreated" EnableModelValidation="True"  CellSpacing="1" BackColor="#000066" GridLines="None">
                    <Columns>
                              <asp:TemplateField ControlStyle-Width="30" HeaderText="选择"    >
                                <ItemTemplate>
                                    <asp:CheckBox ID="DeleteThis" onclick="javascript:CCA(this);" runat="server" />
                                </ItemTemplate>

<ControlStyle Width="30px"></ControlStyle>
                            </asp:TemplateField>               
		<asp:BoundField DataField="rtitle" HeaderText="标题" SortExpression="rtitle" ItemStyle-HorizontalAlign="Center"  >
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                              </asp:BoundField>
        <asp:BoundField DataField="robject" HeaderText="问题发生地" SortExpression="robject" ItemStyle-HorizontalAlign="Center"  > 
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                              </asp:BoundField>
		<asp:BoundField DataField="rwork" HeaderText="被投诉人（单位）" SortExpression="rwork" ItemStyle-HorizontalAlign="Center"  > 		
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                              </asp:BoundField>
		<asp:BoundField DataField="rtype" HeaderText="问题类别" SortExpression="rtype" ItemStyle-HorizontalAlign="Center"  > 
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                              </asp:BoundField>
		<asp:BoundField DataField="rtypesub" HeaderText="问题细类" SortExpression="rtypesub" ItemStyle-HorizontalAlign="Center"  > 		
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                              </asp:BoundField>
		<asp:BoundField DataField="rdate" HeaderText="投诉日期" SortExpression="rdate" ItemStyle-HorizontalAlign="Center"  > 
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                              </asp:BoundField>
                              <asp:TemplateField HeaderText="类别" SortExpression="rresult">                                  
                                  <ItemTemplate>
                                      <asp:Label ID="Label1" runat="server" Text='<%# Bind("rresult") %>'></asp:Label>
                                  </ItemTemplate>
                                  <ItemStyle HorizontalAlign="Center" />
                              </asp:TemplateField>
		<asp:BoundField DataField="rresult" HeaderText="状态" SortExpression="rresult" ItemStyle-HorizontalAlign="Center"  >                            
<ItemStyle HorizontalAlign="Center"></ItemStyle>
                              </asp:BoundField>
                   <asp:HyperLinkField HeaderText="详细" ControlStyle-Width="50" DataNavigateUrlFields="rid" DataNavigateUrlFormatString="reportinfo/Show.aspx?id={0}"
                                Text="详细" Target="_blank"  >                            
<ControlStyle Width="50px"></ControlStyle>
                              </asp:HyperLinkField>
                            <asp:TemplateField ControlStyle-Width="50" HeaderText="删除"   Visible="false"  >
                                <ItemTemplate>
                                    <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Delete"
                                         Text="删除"></asp:LinkButton>
                                </ItemTemplate>

<ControlStyle Width="50px"></ControlStyle>
                            </asp:TemplateField>         
                        </Columns>

                    <HeaderStyle BackColor="White" />
                    <PagerStyle BackColor="White" />

<RowStyle HorizontalAlign="Center" BackColor="White"></RowStyle>
                </asp:GridView>
    <table border="0" cellpadding="0" cellspacing="1" style="width: 100%;">
                <tr>
                    <td style="width: 1px;">                        
                    </td>
                    <td align="left" style="padding:5px">处理状态：
                        <asp:TextBox ID="txtjg" runat="server" TextMode="MultiLine" Rows="5" style="width:400px"></asp:TextBox>
                        <asp:Button ID="btncl" runat="server" Text="处理" OnClick="btncl_Click" />                       
                        &nbsp;&nbsp;&nbsp;                       
                        <asp:Button ID="btnDelete" runat="server" Text="删除" OnClick="btnDelete_Click"/>    
                        <asp:Button ID="btnOUT" runat="server" Text="导出" OnClick="btnOut_Click"/>                                          
                    </td>
                </tr>
            </table>
</asp:Content>
